|
Bi-quinary coded decimal is a numeral encoding scheme used in many abacuses and in some early computers, including the Colossus. The term ''bi-quinary'' indicates that the code comprises both a two-state (''bi'') and a five-state (''quin''ary) component. The encoding resembles that used by many abaci, with four beads indicating either 0 through 4 or 5 through 9 and another bead indicating which of those ranges. Several human languages, most notably Khmer and Wolof, also use biquinary systems. For example, the Khmer word for 6, ''pram muoy'', literally means ''five () one''. == Decoding == To decode the biquinary code use the number 5043210. At each digit multiply the biquinary number by the number 5043210. This will give one decimal digit. For example take the number 0110000. To change this into decimal: ::(5 × 0) + (0 × 1) + (4 × 1) + (3 × 0) + (2 × 0) + (1 × 0) + (0 × 0) = 4 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Bi-quinary coded decimal」の詳細全文を読む スポンサード リンク
|